From: Georges Basile Stavracas Neto Date: Wed, 8 Jun 2022 14:32:58 +0000 (-0300) Subject: appDisplay: Remove stack from AppDisplay X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~76 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1fb570b415f88a97982b390c616fe553c7fe00d6;p=gnome-shell.git appDisplay: Remove stack from AppDisplay The stack widget once was a ShellStack and had a prominent role in layouting AppDisplay, but after a series of reworks it's now effectively unused, and can be safely removed. Remove the '_stack' widget from AppDisplay. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 3bf9a27e2..b0f85f377 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1336,13 +1336,7 @@ class AppDisplay extends BaseAppView { this._pageManager = new PageManager(); this._pageManager.connect('layout-changed', () => this._redisplay()); - this._stack = new St.Widget({ - layout_manager: new Clutter.BinLayout(), - x_expand: true, - y_expand: true, - }); - this.add_actor(this._stack); - this._stack.add_child(this._box); + this.add_child(this._box); this._folderIcons = [];